page {
  background: #FAFAFA;
  padding-bottom: 100rpx;
  box-sizing: border-box;
}

.open-stage {
  .open-stage-overview {
    height: 536rpx;
    background: #4484FF;
    border-radius: 0rpx 0rpx 30rpx 30rpx;
    overflow: hidden;

    .overview {
      background: rgba(255, 255, 255, 0.2);
      border-radius: 20rpx 20rpx 20rpx 20rpx;
      margin: 0 30rpx;
      padding: 30rpx;
      margin-top: 24rpx;

      .overview-top {
        display: flex;
        justify-content: space-between;
        align-items: center;

        >text:first-child {
          font-family: PingFang SC, PingFang SC;
          font-weight: 400;
          font-size: 36rpx;
          color: #FFFFFF;
        }

        >text:last-child {
          font-family: PingFang SC, PingFang SC;
          font-weight: 400;
          font-size: 24rpx;
          color: #FFFFFF;
          padding-left: 42rpx;
          line-height: normal;
          background: url('') no-repeat left top 0rpx / 32rpx 32rpx;
        }
      }

      .overview-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 22rpx;

        >view:first-child {
          font-family: PingFang SC, PingFang SC;
          font-weight: 400;
          font-size: 24rpx;
          color: #FFFFFF;
          min-width: 316rpx;
          height: 68rpx;
          background: linear-gradient(270deg, #01C467 0%, #4484FF 100%);
          border-radius: 10rpx 10rpx 10rpx 10rpx;
          display: flex;
          align-items: center;
          justify-content: center;

          text {
            font-size: 36rpx;
            font-weight: bold;
          }
        }

        >view:last-child {
          font-family: PingFang SC, PingFang SC;
          font-weight: 400;
          font-size: 32rpx;
          color: #FFFFFF;
          padding-left: 58rpx;
          background: url('') no-repeat left center / 48rpx 48rpx;
        }
      }
    }
  }

  .package {
    margin: 30rpx;
    background: #FFFFFF;
    border-radius: 20rpx 20rpx 20rpx 20rpx;
    padding: 30rpx;
    margin-top: -104rpx;
    display: flex;
    flex-wrap: wrap;
    gap: 22rpx 18rpx;

    .package-item {
      width: calc((100% - 22rpx * 2) / 3);
      background: #EEEEEE;
      border-radius: 10rpx 10rpx 10rpx 10rpx;
      padding: 20rpx 0;

      &.active {
        transition: all .5s;
        background: #4484FF;

        >view:first-child {
          color: #FFFFFF;
        }

        >view:last-child {
          color: #FFFFFF;
        }
      }

      >view:first-child {
        text-align: center;
        font-family: PingFang SC, PingFang SC;
        font-weight: 400;
        font-size: 48rpx;
        color: #2E374C;
        display: flex;
        align-items: center;
        justify-content: center;

        text {
          font-size: 36rpx;
        }
      }

      >view:last-child {
        text-align: center;
        margin-top: 10rpx;
        font-family: PingFang SC, PingFang SC;
        font-weight: 400;
        font-size: 28rpx;
        color: #2E374C;
      }
    }
  }

  .pay {
    margin: 30rpx;
    padding: 40rpx 30rpx;
    background: #FFFFFF;
    border-radius: 10rpx 10rpx 10rpx 10rpx;
    display: flex;
    align-items: center;

    .pay-prefix {
      font-family: PingFang SC, PingFang SC;
      font-weight: 400;
      font-size: 32rpx;
      color: #2E374C;
      flex: 1;
    }

    .pay-type {
      font-family: PingFang SC, PingFang SC;
      font-weight: 400;
      font-size: 28rpx;
      color: #585F70;
      display: flex;
      align-items: center;

      >image:first-child {
        margin-right: 24rpx;
        width: 40rpx;
        height: 35rpx;
      }

      >image:last-child {
        margin-left: 10rpx;
        width: 14rpx;
        height: 24rpx;
      }
    }
  }

  .rule {
    margin: 50rpx 30rpx;
    >view:first-child {
      font-family: PingFang SC, PingFang SC;
      font-weight: 400;
      font-size: 24rpx;
      color: #585F70;
      line-height: 48rpx;
    }

    >view:last-child {
      font-family: PingFang SC, PingFang SC;
      font-weight: 400;
      font-size: 24rpx;
      color: #9E9E9E;
      line-height: 48rpx;
    }
  }
}

.confirm {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  .confirm-agree {
    display: flex;
    justify-content: center;
    margin-bottom: 32rpx;
    .van-checkbox__label {
      font-family: PingFang SC, PingFang SC;
      font-weight: 400;
      font-size: 24rpx;
      color: #585F70;
  
      text {
        color: #4484FF;
      }
    }
  }
}